package com.itheima.anonymous;
/*
    ctrl + shift + 加号 : 方法全部展开
    ctrl + shift + 减号 : 方法全部折叠

    alt + 7 : 打来一个类的体系结构
 */
public class User {
    // 成员变量
    private String username;    // 用户名
    private String phoneNumber; // 电话号码
    private String password;    // 密码
    private String confirm;     // 确认密码
    private String email;       // 邮箱
    private String sex;         // 性别
    private String birthday;    // 生日

    // 空参构造
    public User() {
    }

    // 全参构造
    public User(String username, String phoneNumber, String password, String confirm, String email, String sex, String birthday) {
        this.username = username;
        this.phoneNumber = phoneNumber;
        this.password = password;
        this.confirm = confirm;
        this.email = email;
        this.sex = sex;
        this.birthday = birthday;
    }

    // set/get方法

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getConfirm() {
        return confirm;
    }

    public void setConfirm(String confirm) {
        this.confirm = confirm;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }
}
